package cn.s1995.sloth.bizs.service.common;


import cn.s1995.sloth.bizs.oo.req.VerifyREQ;
import cn.s1995.sloth.bizs.oo.req.WorldREQ;
import cn.s1995.sloth.common.core.util.R;

import java.util.List;

/**
 * CommonService
 *
 * @Author penf
 * @Description
 * @Date 2022/11/11 21:20
 */
public interface CommonService {
    /**
     * 验证码-发送
     *
     * @param req
     * @return
     */
    R verifySendCode(VerifyREQ req);

    /**
     * 验证码-验证
     *
     * @param req
     * @return
     */
    R verifyCheck(VerifyREQ req);

    /**
     * 获取世界地理数据
     * <pre>
     *     场景：region-区域 state-州/省 city-城市
     *     关联id
     * </pre>
     *
     * @param req
     * @return
     */
    List getWorldData(WorldREQ req);
}
